using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace TCS.Web.Weibo.WeiBo_UserInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int WB_ID=(Convert.ToInt32(strid));
					ShowInfo(WB_ID);
				}
			}
		}
		
	private void ShowInfo(int WB_ID)
	{
		TCS.BLL.Weibo.WeiBo_UserInfo bll=new TCS.BLL.Weibo.WeiBo_UserInfo();
		TCS.Model.Weibo.WeiBo_UserInfo model=bll.GetModel(WB_ID);
		this.lblWB_ID.Text=model.Wb_id.ToString();
		this.lblWB_AccountName.Text=model.WB_AccountName;
		this.lblWB_Pwd.Text=model.WB_Pwd;
		this.lblWB_NickName.Text=model.WB_NickName;
		this.lblMember_ID.Text=model.Member_ID.ToString();
		this.lblWB_Name.Text=model.WB_Name;
		this.lblWB_ProvinceID.Text=model.WB_ProvinceID.ToString();
		this.lblWB_CityID.Text=model.WB_CityID.ToString();
		this.lblWB_Location.Text=model.WB_Location;
		this.lblWB_Gender.Text=model.WB_Gender;
		this.lblWB_Author.Text=model.WB_Author.ToString();
		this.lbloauth_token.Text=model.oauth_token;
		this.lbloauth_token_secret.Text=model.oauth_token_secret;

	}


    }
}
